package com.food.user.exception.storeRegisterException;


import com.food.user.exception.WoNiuException;


public class StoreRegisterException extends WoNiuException {
    public StoreRegisterException(Integer code, String message) {
        super(code, message);
    }

    public StoreRegisterException(StoreRegisterExceptionCode storeRegisterExceptionCode){
        super(storeRegisterExceptionCode.getCode(),storeRegisterExceptionCode.getMessage());
    }
}
